package com.wq.rabbit.consumer;


import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@RabbitListener(queues = "bailis")
@Component
public class consumer3 {
    @RabbitHandler
    public void gitMsg(String msg) {
        System.out.println("bailis消费bailis队列信息" + msg);
    }
}

